package com.ydie.service.serviceimpl;

import com.ydie.entity.flower;
import com.ydie.mapper.flowerMapper;
import com.ydie.service.flowerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class flowerServiceImpl implements flowerService {

    @Autowired
    private flowerMapper flowerMapper;

    @Override
    public List<flower> showFlowerAll() {
        return flowerMapper.showFlowerAll();
    }
}
